package com.ksd.common.enums;

/**
 * 任务状态枚举
 */
public enum SynchContentStatusEnum {
    wait("0", "等待同步"),
    synch("1", "正在同步"),
    success("2", "同步完成"),
    synch_failed("-1", "同步失败"),
    extract_ing("3", "正在解压"),
    extract_failed("-2", "解压失败"),
    down_failed("-3", "下载失败");

    private final String code;
    private final String desc;

    SynchContentStatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    // getter
    public String getCode() { return code; }
    public String getDesc() { return desc; }
}
